import configparser

class Config:
    def __init__(self):
        config = configparser.ConfigParser()

        config.read('./config.ini')

        self.file_path = config['DEFAULT']['file_path']
        self.sheet_name_bond = config['DEFAULT']['sheet_name_bond']
        self.sheet_name_acquisition = config['DEFAULT']['sheet_name_acquisition']
        self.sheet_name_listed_financing = config['DEFAULT']['sheet_name_listed_financing']

        self.user = config['database']['user']
        self.password = config['database']['password']
        self.host = config['database']['host']
        self.port = config['database']['port']
        self.database = config['database']['database']
        self.table_index_a = config['database']['table_index_a']
        self.table_index_b = config['database']['table_index_b']
        self.table_listed_co = config['database']['table_listed_co']
        self.table_bond_detail = config['database']['table_bond_detail']
        self.table_listed_financing = config['database']['table_listed_financing']
        self.table_acquisition = config['database']['table_acquisition']

